home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Sound / mp3play / mp3Config < prev    next >
Text File  |  2001-06-03  |  764b  |  26 lines

  1. /*
  2.   mp3Config.rx © 2001 Carl Svensson
  3.   Configuration Tool for mp3Play.rx
  4. */
  5.  
  6. if ~show("L","rexxreqtools.library") then
  7.   call addlib("rexxreqtools.library",5,-30)
  8. if ~show("L","rexxsupport.library") then
  9.   call addlib("rexxsupport.library",0,-30,0)
  10.  
  11. choice=rtezrequest("First, I want to know where MPEGA is located")
  12. prog=rtfilerequest("c:","mpega","Location of MPEGA")
  13.  
  14. choice=rtezrequest("Now, point me to your MP3 directory")
  15. mp3d=rtfilerequest("work:data/mp3",,"Select MP3 dir",,"rtfi_flags=freqf_nofiles")
  16.  
  17. choice=rtezrequest("Now, enter the option arguments for MPEGA")
  18. opts=rtgetstring("-d 2 -q 1 -p 3 -b 32",,"MPEGA arguments")
  19.  
  20. confstr=prog";"mp3d";"opts
  21.  
  22. open(fptr,"s:mp3play.cfg","W")
  23. writeln(fptr,confstr)
  24. close(fptr)
  25.  
  26. choice=rtezrequest("All done!")